package cn.com.fssg.platform.base.handler.impl.fsadmin;

import cn.com.fssg.platform.base.handler.InterfaceHandler;
import cn.com.fssg.platform.biz.BizUtil;
import cn.com.fssg.platform.biz.ExtendUtil;
import com.alibaba.fastjson.JSONObject;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;

import javax.servlet.http.HttpServletRequest;

/**
 * @author : xzt
 * @description :
 * @createDate : 2025/6/7 9:51
 */
public class LogoutExtend implements InterfaceHandler {

    @Override
    public Object run(HttpServletRequest request, JSONObject jsonObject) throws Exception {
        Object result = ExtendUtil.cur().logout(jsonObject.getString("token"));
        return result;
    }

}

